//SUMMARY:  This do file replicates analysis reported in "Trade as Villain" from a second convenience sample drawn from Prolific:

clear all
set more off

*Set classpath here:
cd "XXX"

use "Prolific experiment 2 replication data.dta"

*Define control variables:
global cov "age female i.educ4cat hhinc isWhite ib3.pid3"

//TABLE A9:  Immigration and corporations framing treatment
reg reduceTrade i.treatment $cov
outreg2 using "Output/Prolific_results3", replace tex(fra) ctitle(Reduce trade) nocons bdec(3) label
reg decreaseImmig i.treatment $cov
outreg2 using "Output/Prolific_results3", append tex(fra) ctitle(Reduce immig.) nocons bdec(3) label
reg corpTax i.treatment $cov
outreg2 using "Output/Prolific_results3", append tex(fra) ctitle(Decrease taxes) nocons bdec(3) label
